/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Graph;

import java.awt.Color;

/**
 *
 * @author Andrew
 */
public class Node {
    private int id;
    private Color color;

    public Node(int id) {
        this.id = id;
        color = Color.WHITE;
    }

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @return the color
     */
    public Color getColor() {
        return color;
    }

    /**
     * @param color the color to set
     */
    public void setColor(Color color) {
        this.color = color;
    }


}
